import { defineStore } from "pinia";

export default defineStore("user", {
  state() {
    return {
      isShowLogin: false,
    };
  },
  getters: {},
  actions: {
    setLoginDialog(type) {
      this.isShowLogin = type;
    },
  },
  // persist: process.client && {
  //   storage: persistedState.sessionStorage,
  //   paths: [""],
  // },
});
